package com.jingdianjichi.subject.application.converter;


import com.jingdianjichi.subject.application.dto.EmployeeDTO;
import com.jingdianjichi.subject.eneity.EmployeeBO;

import java.util.List;

import com.jingdianjichi.subject.infra.basic.entity.Employee;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface EmployeeDTOConverter {
    EmployeeDTOConverter INSTANCE = Mappers.getMapper(EmployeeDTOConverter.class);
    EmployeeBO converterDtoToEmployeeBo(EmployeeDTO employeeDTO);
    List<EmployeeDTO> converterEmployeeBoToDto(List<EmployeeBO> employeeBOs);
    List<EmployeeDTO> converterEmployeeToDto(List<Employee> employees);

}
